Component({
  properties: {
    goodsList: {
      type: Array,
      value: []
    }
  },
  methods: {
    goDetails(v) {
      let id = v.currentTarget.dataset.id
      // console.log(v.currentTarget.dataset.id);
      wx:wx.navigateTo({
        url: '/pages/detail/detail?id='+id,
      })
    }
  }
})